package com.rocketmq.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author 派大星
 * @Description TODO
 * @Date 2025/8/3 16:23
 */
@RestController
public class QpsTestController {

    @GetMapping("/test")
    public String testQps() {
        return "hello world";
    }

    @GetMapping("/test2")
    public String testQps2() throws InterruptedException {
        Thread.sleep(50L);
        return "hello world";
    }
}
